{{define "setting/add.html"}}
<!DOCTYPE html>
<html lang="en">
{{template "common/header.html" .}}
<body>
    <div id="wrapper">
        {{template "common/navbar.html" .}}
        <div id="page-wrapper">
            <div class="row">
                <div class="col-lg-12">
                    <h1 class="page-header">配置管理</h1>
                </div>
                <!-- /.col-lg-12 -->
            </div>
            <div class="row">
                <div class="col-lg-4">
                    <div><label>Config ADD</label></div>
                    <form role="form" action="/admin/setting/new" enctype="multipart/form-data" method="post" >
                        <div class="form-group">
                            <label for="conf_key">Key:</label><input type="text" class="form-control" id="conf_key" name="config[key]">
                        </div>
                        <div class="form-group">
                            <label  for="conf_val">Value:</label>
                            <input type="text" class="form-control" id="conf_val" name="config[value]">
                        </div>
                        <div class="form-group">
                            <label  for="conf_group">Group:</label>
                            <input type="text" class="form-control" id="conf_group" name="config[group]">
                        </div>
                        <div class="form-group">
                            <label  for="conf_comment">Comment:</label>
                            <input type="text" class="form-control" id="conf_comment" name="config[comment]">
                        </div>
                        <button type="submit" class="btn btn-default">Submit</button>
                    </form>
                </div>
            </div>
        </div>
        <!-- /#page-wrapper -->
    </div>
    <!-- /#wrapper -->
    {{template "common/footer.html" .}}
</body>
</html>
{{end}}